/*
 * ConceptualRentalBO.java
 *
 * Created on March 26, 2007, 6:49 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;

/**
 * This class contains all the setters and getters for its respective DAOs.
 * @author Rick
 */
public class ConceptualRentalBO extends ConceptualBO{
    private double pricePerDay;
    private double replacementPrice;
    private int maxTimesRented = 10;//i think this is what we decided, but i'm not sure about it... you can change if needed
    private double lateFeePerDay;
    private int maxDaysOverdue;
    
    
    /** Creates a new instance of ConceptualRentalBO */
    public ConceptualRentalBO() {
    }

    /**
     * gets the price per day
     * @return PricePerDay
     */
    public double getPricePerDay() {
        return pricePerDay;
    }

    /**
     * sets the PricePerDay
     */
    public void setPricePerDay(double pricePerDay) {
        this.pricePerDay = pricePerDay;
        setDirty(true);
    }

    /**
     * This method gets the replacement price
     * @return replacement price
     */
    public double getReplacementPrice() {
        return replacementPrice;
    }

    /**
     * This method sets the replacement price
     * @param replacementPrice 
     */
    public void setReplacementPrice(double replacementPrice) {
        this.replacementPrice = replacementPrice;
        setDirty(true);
    }

    /**
     * This method returns the maximum number of times the item was rented
     * @return maximum time rented
     */
    public int getMaxTimesRented() {
        return maxTimesRented;
    }

    /**
     * sets the maximum time rented
     * @param maxTimesRented 
     */
    public void setMaxTimesRented(int maxTimesRented) {
        this.maxTimesRented = maxTimesRented;
        setDirty(true);
    }

    /**
     * This methods returns the maximum days over due
     * @return MaxDaysOverDue
     */
    public int getMaxDaysOverdue() {
        return maxDaysOverdue;
    }

    /**
     * This method sets the Max days overdue
     */
    public void setMaxDaysOverdue(int maxDaysOverdue) {
        this.maxDaysOverdue = maxDaysOverdue;
        setDirty(true);
    }

    /**
     * This method returns the late fee per day
     * @return late fee per day
     */
    public double getLateFeePerDay() {
        return lateFeePerDay;
    }

    /**
     * This methods set the late fee per days
     * @param lateFeePerDay 
     */
    public void setLateFeePerDay(double lateFeePerDay) {
        this.lateFeePerDay = lateFeePerDay;
        setDirty(true);
    }
    
}
